<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>

<%@include file="/WEB-INF/jsp/include/tags.jsp"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>modelItem - write</title>
	<link rel="stylesheet" type="text/css" href="/css/style.css"/>
	<script type="text/javascript">
	<!--
		function goList() {
			var f = document.modelItemCriteriaForm;
			f.submit();
		}
	//-->
	</script>
</head>
<body>
	
	<p><a href="/">home</a></p>
	
	<h1>ModelItem - write</h1>
	
	<form:form commandName="modelItemCriteria" id="modelItemCriteriaForm" name="modelItemCriteriaForm" action="/modelItem.do" method="get">
	<input type="hidden" name="mode"/>
	<form:hidden path="modelitemId"/>
	<form:hidden path="paging.currentPage"/>
	</form:form>

	<form:form commandName="modelItem" name="modelItemForm" action="/modelItemWrite.do">
	<input type="hidden" name="mode" value="write"/>
	<table width="800">
		<colgroup width="800">
			<col width="100"/>
			<col width="*"/>
		</colgroup>
		<tr>
			<th>modelitemId</th>
			<td>
				<form:input path="modelitemId"/>
				<form:errors path="modelitemId" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>modelId</th>
			<td>
				<form:input path="modelId"/>
				<form:errors path="modelId" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>field</th>
			<td>
				<form:input path="field"/>
				<form:errors path="field" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>itemLabel</th>
			<td>
				<form:input path="itemLabel"/>
				<form:errors path="itemLabel" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>priority</th>
			<td>
				<form:input path="priority"/>
				<form:errors path="priority" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>defValue</th>
			<td>
				<form:input path="defValue"/>
				<form:errors path="defValue" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>optValue</th>
			<td>
				<form:input path="optValue"/>
				<form:errors path="optValue" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>textSize</th>
			<td>
				<form:input path="textSize"/>
				<form:errors path="textSize" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>areaRows</th>
			<td>
				<form:input path="areaRows"/>
				<form:errors path="areaRows" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>areaCols</th>
			<td>
				<form:input path="areaCols"/>
				<form:errors path="areaCols" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>help</th>
			<td>
				<form:input path="help"/>
				<form:errors path="help" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>helpPosition</th>
			<td>
				<form:input path="helpPosition"/>
				<form:errors path="helpPosition" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>dataType</th>
			<td>
				<form:input path="dataType"/>
				<form:errors path="dataType" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>isSingle</th>
			<td>
				<form:input path="isSingle"/>
				<form:errors path="isSingle" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>isChannel</th>
			<td>
				<form:input path="isChannel"/>
				<form:errors path="isChannel" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>isCustom</th>
			<td>
				<form:input path="isCustom"/>
				<form:errors path="isCustom" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>isDisplay</th>
			<td>
				<form:input path="isDisplay"/>
				<form:errors path="isDisplay" cssClass="errorMessage"/>
			</td>
		</tr>
	</table>
	<input type="submit" value="write"/>
	</form:form>

	<a href="javascript:goList();">list</a>

</body>
</html>
